﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Happy.Archetype;
using Happy.Domain.CommonModel.TreeLike;
using Happy.Navigation.Domain.Services;

namespace Happy.Navigation.Domain.Menus
{
    [DomainModel, Thing]
    public sealed class Menu : TreeNode<Guid>
    {
        private Menu()
        {
        }

        public Menu(Guid id)
            : base(id)
        {
        }

        public Menu(Guid id, Menu parent)
            : base(id, parent)
        {
        }

        public string Title { get; set; }

        public string Url { get; set; }

        public string Icon { get; set; }

        public int Order { get; set; }
    }
}
